<script type="text/javascript">
    window._COMMON = {
        "ROOT": "__ROOT__", //当前网站地址
        "DOMAIN" : "{:C('LOCAL_DOMAIN')}",
        "APP": "__APP__", //当前项目地址
        "PUBLIC": "__PUBLIC__", //项目公共目录地址
        "JS_DOMAIN": "{:C('JS_DOMAIN')}",
        "DEEP": "{:C('URL_PATHINFO_DEPR')}", //PATHINFO分割符
        "MODEL": ["{:C('URL_MODEL')}", "{:C('URL_CASE_INSENSITIVE')}", "{:C('URL_HTML_SUFFIX')}"],
        "VAR": ["{:C('VAR_MODULE')}", "{:C('VAR_CONTROLLER')}", "{:C('VAR_ACTION')}"],
        "ISLOGIN": {:is_login(1)},
        "LOGIN_URL": "{:U('user/login')}",
        "REGISTER_URL" : "{:U('user/register')}",
        "DEFAULT_AVATAR" : "__PUBLIC__/Home/ui3/images/avatar-mr.png",
        "DEFAULT_BG" : "__PUBLIC__/Home/ui3/images/bg-mr.png",

        "EMOTION_PATH" : "__PUBLIC__/Home/ui3/face/",
        "appToken" : "{$userInfo.token|default=''}",
    }
</script>